home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / MailService / MailCarrier.h < prev    next >
Encoding:
Text File  |  1991-01-27  |  883 b   |  40 lines

  1. /*    MailCarrier.h
  2.  
  3.     This is an object which implements a service menu
  4.     item to automatically mail the current selection of
  5.     text to a given recipient. It reports errors in
  6.     notes and puts a copy of the message being mailed
  7.     into content.
  8.     
  9.     This object uses /usr/lib/sendmail to mail the
  10.     message. This means that if the message has internet
  11.     style headers, they will be properly parsed.
  12.     
  13.     The code for this object is hereby made available
  14.     any use you see fit. No guarantees are made of its
  15.     suitablility for any purpose.
  16.     
  17.     Written in January 1991 by Eric Celeste.
  18.                                                          */
  19.  
  20. #import <objc/Object.h>
  21.  
  22. @interface MailCarrier:Object
  23. {
  24.     id recipient;
  25.     id notes;
  26.     id content;
  27.     int numberOfMessages;
  28. }
  29.  
  30. // STANDARD METHODS
  31. - init;
  32.  
  33. // DELEGATE METHODS
  34. - appDidInit:sender;
  35.  
  36. // SERVICE METHODS
  37. - carryMail:pasteboard userData:(const char *)userData error:(char **)message;
  38.  
  39. @end
  40.